﻿package pages.content {	import flash.display.MovieClip;	import flash.display.Bitmap;	import flash.text.TextField;	public class Content extends MovieClip {		public var headerField:TextField;		public var bodyField:TextField;		public var imageRect:MovieClip;		[Property]		public function set header(value:String):void {			headerField.text=value;		}		[Property]		public function set body(value:String):void {			bodyField.text=value;		}		[Property]		public function set img(value:Bitmap):void {			addChild(value);			value.smoothing=true;			if (imageRect) {				value.x=imageRect.x;				value.y=imageRect.y;				value.width=imageRect.width;				value.height=imageRect.height;			}		}	}}